home *** CD-ROM | disk | FTP | other *** search
/ The Best of Select: Games Special 4 / THE BEST OF SELECT Games Special 4 (Select CD-ROM)(1996).iso / dosgames / abuse / addon / example / example.lsp next >
Text File  |  1995-09-11  |  2KB  |  60 lines

  1. ;;;; This file shows how to create a abuse level which uses your own
  2. ;;;; tiles without messing up the main abuse direcory structure & files.
  3. ;;;; The first important point is where to put your stuff.
  4.  
  5. ;;;; All addons to abuse should be placed in the directory addon/
  6. ;;;; Abuse does not require this to be done, but it's a good idea so the
  7. ;;;; user can easily find/install/remove various addons.
  8. ;;;; if you do not already have the directory c:\abuse\addon, make it now.
  9.  
  10. ;;;; If you created foretiles for abuse (using satan paint) you should 
  11. ;;;; start numbering them at 1200 because the last of the registered
  12. ;;;; tiles end at 1100 something.  Backtiles should start numbering at 350.
  13.  
  14. ;;;; To have your tiles loaded into the game, you should create your
  15. ;;;; own Lisp Startup File (you can just copy this file and replace
  16. ;;;; the names with your own.
  17.  
  18. ;;;; ****************** RUNNING PACKAGES *******************
  19. ;;;; For example to run this package, you should type :
  20. ;;;; abuse -lsf addon/example/example.lsp
  21.  
  22. ;;;; ****************** CREATING PACKAGES *******************
  23. ;;;; to archive this package you should do the following
  24. ;;;;   DOS : 
  25. ;;;;     cd c:\abuse\addon
  26. ;;;;     pkzip -rp example.zip example\*.*
  27. ;;;;   UNIX :
  28. ;;;;     cd ~/abuse/addon
  29. ;;;;     tar cvf - example/ | gzip -9 -c > example.tar.gz
  30.  
  31.  
  32. ;;;; ****************** INSTALLING PACKAGES *******************
  33. ;;;; to install this package you should type
  34. ;;;;   DOS :
  35. ;;;;     cd c:\abuse\addon
  36. ;;;;     pkunzip -d example.zip
  37. ;;;;   UNIX :
  38. ;;;;     cd ~/abuse/addon
  39. ;;;;     gunzip -c example.tar.gz | tar xvf -
  40.  
  41.  
  42.  
  43.  
  44. ;;;; Now the meat of this package :
  45. ;;;; Note that slashes should be FORWARD slashes even if 
  46. ;;;; you are using DOS
  47.  
  48. ;; load up some tiles I made.  You can add more filenames
  49. ;; if you wish, but they should all be loaded from 'your' dir.
  50. (load_tiles "addon/example/example.spe")   
  51.  
  52. ;; set the first level to the one I made
  53. (set_first_level "addon/example/example.lvl")  
  54.  
  55. ;; load up the normal abuse startup file
  56. (load "abuse.lsp")                       
  57.  
  58.  
  59.  
  60.